﻿using System.Diagnostics;

namespace HgAdapter
{
	public class HgCommand
	{
		protected static ProcessStartInfo HgStatusStartInfo(string arguments)
		{
			ProcessStartInfo startInfo = new ProcessStartInfo();
			startInfo.FileName = "hg";
			startInfo.Arguments = arguments;
			startInfo.CreateNoWindow = true;
			startInfo.RedirectStandardError = true;
			startInfo.RedirectStandardInput = true;
			startInfo.RedirectStandardOutput = true;
			startInfo.UseShellExecute = false;
			return startInfo;
		}
	}
}
